package java.io
{
	import flash.utils.ByteArray;
	
	import java.util.cloner;
	
	//import java.util.cloner;
	
	public class InputStream extends ByteArray
	{	
		public function InputStream() {
			super();
		}
		
		public function read(b:Array=null, off:int=0, len:int=0):int {
			return int(this.readByte());
		}
		
		public function clone():* {
			return java.util.cloner.clone(this);
		}
	}
}